#!/usr/bin/env node

const cp=require('child_process'),
  arg=process.argv[2];

if(typeof arg==='undefined'){
  console.error('请输入参数');
}
cp.exec(arg,(err,stdout)=>{
  console.log(stdout);
});

